package com.igbeok.miscellaneous.concurrency.thij;



public class Restaurant2 extends Restaurant{
	
	public static void main(String[] args) {
		Restaurant restaurant = new Restaurant2();
		WaitPerson2 waitPerson = new WaitPerson2("waitPerson",restaurant);
		Chef2 chef = new Chef2("chef",restaurant, waitPerson);
		waitPerson.start();
		chef.start();
	}
}
